﻿@model GameStepAzure.Models.Cliente
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Master.cshtml";
}

@using (Html.BeginForm("Index", "Perfil", FormMethod.Post, new { @class = "box login" }))
{ 
    <fieldset class="boxBody">
        <p style="text-align: center">
            Registrar Cliente</p>
                 @{
    if (ViewBag.error != null)
    {
            <p>@((String)ViewBag.error)</p>
    }
        }
        @Html.Label("Nombre")
        @Html.TextBoxFor(x=>Model.Nombre)@Html.ValidationMessageFor(x=>Model.Nombre)
        @Html.Label("Email:")
        @Html.TextBoxFor(x => Model.Email)@Html.ValidationMessageFor(x => Model.Email)
        @Html.Label("Password:")
        @Html.PasswordFor(x => Model.Password)@Html.ValidationMessageFor(x => Model.Password)
    </fieldset>
    <footer>
	  <input type="submit" class="btnLogin" value="Crear Usuario" />
	</footer>

}
